Skip to main content
POST
[Instances] Price a resize before ordering it

Authorizations

Authorization
string
header
required

Use Authorization: Bearer <token> header. Token can be a JWT token or an API key (format: sk-onetsolutions-...).

Path Parameters

id
string<uuid>
required

A UUID string identifying this Instance.

organization_id
string
required

Unique identifier of the organization that owns the resource.

project_id
string
required

Unique identifier of the project containing the resource.

Body

application/json
size_id
string<uuid>
required
billing_cycle
string | null

Cycle to bill the new size on. Defaults to the current one; only a longer cycle is accepted.

Response

Resize quote

product_price
string | null
required
Pattern: ^-?\d{0,10}(?:\.\d{0,2})?$
config_options_price
string | null
required
Pattern: ^-?\d{0,10}(?:\.\d{0,2})?$
total_price
string | null
required
Pattern: ^-?\d{0,10}(?:\.\d{0,2})?$
currency
string
required
billing_cycle
string
required
available_billing_cycles
string[]
required
recurring_price
string | null
required
Pattern: ^-?\d{0,10}(?:\.\d{0,2})?$
recurring_monthly_equivalent
string | null
required
Pattern: ^-?\d{0,10}(?:\.\d{0,2})?$
monthly_reference_price
string | null
required
Pattern: ^-?\d{0,10}(?:\.\d{0,2})?$
monthly_savings_percent
string | null
required
Pattern: ^-?\d{0,3}(?:\.\d{0,2})?$
kept_options
object[]
required
dropped_options
object[]
required